cabal-version:      3.0
name:               taupo
version:            1.0.0.0
synopsis:           First-order, selective FRP.

-- description:
homepage:           https://notabug.org/koz.ross/taupo
license:            GPL-3.0-or-later
license-file:       LICENSE.md
author:             Koz Ross
maintainer:         koz.ross@retro-freedom.nz
copyright:          (C) Koz Ross 2020
category:           FRP
tested-with:        GHC ==8.10.2
build-type:         Simple
extra-source-files:
  CHANGELOG.md
  README.md

common common-lang
  build-depends:
    , base                 ^>=4.14
    , bifunctors
    , foldl
    , functor-combinators
    , profunctors
    , selective
    , semialign
    , semigroupoids
    , these
    , vector

  ghc-options:
    -Wall -Wcompat -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wredundant-constraints -Werror
    -fno-max-relevant-binds

  default-language: Haskell2010

library
  import:          common-lang
  exposed-modules:
    Control.Fold1
    FRP.Taupo
    FRP.Taupo.Async
    FRP.Taupo.Awaiting
    FRP.Taupo.Scheduled
    FRP.Taupo.Sync

  hs-source-dirs:  src
